package com.eightworld3.supermarket.service.dto.add;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author EightWorld3
 */
@Schema(description = "商品信息AddDto")
public class WareInfoAddDTO {
    /**
     * foreign key
     */
    @Schema(name = "wareTypeId",example = "1",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品类型")
    private Integer wareTypeId;

    @Schema(name = "wareName",example = "小米",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品名称")
    private String wareName;

    @Schema(name = "wareLevel",example = "高/A",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品级别")
    private String wareLevel;

    @Schema(name = "wareTotalNumber",example = "1",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品总数")
    private Integer wareTotalNumber;

    @Schema(name = "wareUpAndDown",example = "1",requiredMode = Schema.RequiredMode.REQUIRED,description = "上/下架")
    private Integer wareUpAndDown;

    @Schema(name = "wareRemark",example = "备注",description = "备注")
    private String wareRemark;

    public int getWareTypeId() {
        return wareTypeId;
    }

    public void setWareTypeId(int wareTypeId) {
        this.wareTypeId = wareTypeId;
    }

    public String getWareName() {
        return wareName;
    }

    public void setWareName(String wareName) {
        this.wareName = wareName;
    }

    public String getWareLevel() {
        return wareLevel;
    }

    public void setWareLevel(String wareLevel) {
        this.wareLevel = wareLevel;
    }

    public int getWareTotalNumber() {
        return wareTotalNumber;
    }

    public void setWareTotalNumber(int wareTotalNumber) {
        this.wareTotalNumber = wareTotalNumber;
    }

    public int getWareUpAndDown() {
        return wareUpAndDown;
    }

    public void setWareUpAndDown(int wareUpAndDown) {
        this.wareUpAndDown = wareUpAndDown;
    }

    public String getWareRemark() {
        return wareRemark;
    }

    public void setWareRemark(String wareRemark) {
        this.wareRemark = wareRemark;
    }

    @Override
    public String toString() {
        return "WareInfoAddDTO{" +
                "wareTypeId=" + wareTypeId +
                ", wareName='" + wareName + '\'' +
                ", wareLevel='" + wareLevel + '\'' +
                ", wareTotalNumber=" + wareTotalNumber +
                ", wareUpAndDown=" + wareUpAndDown +
                ", wareRemark='" + wareRemark + '\'' +
                '}';
    }
}
